@medusajs/medusa
Version:
Building blocks for digital commerce
10 lines • 384 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.GET = void 0;
const helpers_1 = require("../helpers");
const GET = async (req, res) => {
const collection = await (0, helpers_1.refetchCollection)(req.params.id, req.scope, req.queryConfig.fields);
res.status(200).json({ collection });
};
exports.GET = GET;
//# sourceMappingURL=route.js.map
;